package com.jet.member.domain.entity;

import com.baomidou.mybatisplus.annotation.*;

import java.io.Serializable;
import java.time.LocalDateTime;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 会员财产信息
 * </p>
 *
 * @author author
 * @since 2025-03-02
 */
@Getter
@Setter
@TableName("m_member_assets")
@ApiModel(value = "MemberAssets对象", description = "会员财产信息")
public class MemberAssets implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.INPUT)
    private String id;

    @TableField("now_integral")
    private Long nowIntegral;

    @TableField("accrual_integral")
    private Long accrualIntegral;

    @TableField("now_recharge")
    private Long nowRecharge;

    @TableField("accrual_recharge")
    private Long accrualRecharge;

    @TableField(value = "create_time", fill = FieldFill.INSERT)
    private LocalDateTime createTime;

    @TableField(value = "update_time", fill = FieldFill.INSERT_UPDATE)
    private LocalDateTime updateTime;
}
